/****************************************************************************************
*            . .. .                                                                     *
*                    ...                                                                *
*                       .":                                                             *
*   .                      u                                                            *
* ..     .:uxkkOkkx=.      "k'                                                          *
*.     "k00O0ko==uk00x'     OO.                       IBE-CAE                           *
*'   .xK0O00: 'xx" x0Ku    .O0:     Copyright (C) by Internet Based Engineering         *
*   .O0OO00= oKOk:"O0O'    :00=                 All rights reserved.                    *
*.  =0OOO00" =OOO0Oo'     =0OO:                      www.ibe.cn                         *
*.  u0OOOO0O'          .o00OOO.                                                         *
* . :KOOOOO00xu=:::=uok00OOOO"                                                          *
*   .x00OOOOOO0000000OOOOOOx.                                                           *
*    .u00OOOOOOOOOOOOOOOOO=                                                             *
*      .ukOOOOOOOOOOOOku'                                                               *
*          .'::==::'.                                                                   *
****************************************************************************************/

#ifndef IBE_DATA_INFORMATION_H_
#define IBE_DATA_INFORMATION_H_

#include <string>

#include "IBE_Object.h"

namespace ibe_common
{
    class IBE_Blocks;
    class IBE_Block;
    class IBE_Cases;
    class IBE_Case;
    class IBE_CaseStep;
    class IBE_FieldData;
    class IBE_Meshs;

    /**
    * @class IBE_DataInformation
    * @brief 存储所有要转换为HDF5文件的数据信息
    * @author liupeng
    */
    class IBE_COMMON_EXPORT IBE_DataInformation : public IBE_Object
    {
    public:
        explicit IBE_DataInformation();
        ~IBE_DataInformation();

        IBE_TypeMacro( ibe_common, IBE_DataInformation, ibe_common, IBE_Object );

        virtual IBE_Meshs* GetMeshs()
        {
            return this->meshs_;
        }
        virtual IBE_Blocks* GetBlocks()
        {
            return this->blocks_;
        }
        virtual IBE_Cases* GetCases()
        {
            return this->cases_;
        }

        virtual void Initialize() override;
        virtual void Copy( ibe_common::IBE_Object* obj ) override;

    protected:
        //! 网格根节点
        IBE_Meshs* meshs_;
        //! 网格集合根节点，存储单元集、节点集、表面集等集合信息
        IBE_Blocks* blocks_;
        //! 结果数据根节点
        IBE_Cases* cases_;

    private:
        IBE_DataInformation( const IBE_DataInformation& ) = delete;
        IBE_DataInformation& operator=( const IBE_DataInformation& ) = delete;
    };
} // namespace ibe_common

#endif // IBE_DATA_INFORMATION_H_